﻿<%@ Page Language="C#"
    AutoEventWireup="true"
    CodeBehind="ApprobationList.aspx.cs"
    Inherits="Medianamik.UI.Web.Approbation.ApprobationList"
    MasterPageFile="~/Medianamik/MasterPages/MedianamikModule.Master" %>

<%@ Import Namespace="Medianamik.Core.Sugar" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" %>
<%@ Register TagPrefix="med" Namespace="Medianamik.UI.Controls" %>
<%@ Register TagPrefix="lock" Namespace="Medianamik.UI.Lock" %>

<%@ Register TagName="Medianamik" 
    Src="~/medianamik/approbation/ApprobationGrid.ascx" TagPrefix="uc" %>

<asp:Content ContentPlaceHolderID="CenterContent" runat="server">
    <asp:Literal ID="Breadcrumbs" runat="server" />
    <asp:UpdatePanel ID="FiltersUpdatePanel" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
            <div id="BoiteRecherche">
                <fieldset>
                    <p>
                        <label><%= "Medianamik_Approbation".Translate("ExactApprobationLevel")%></label>
                        <asp:DropDownList CssClass="SelectList" Width="100px" 
                            ID="ExactApprobationLevelList" runat="server" 
                            DataTextField="Text" DataValueField="Value" />
                    </p>
                    <div style="clear:left;"></div>
                </fieldset>
                <asp:Button ID="FilterButton" runat="server" CssClass="Btn" Text="Rechercher" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <uc:Medianamik runat="server" ID="ApprobationGrid" AllowPaging="true" />
    <br class="clearer" />        
</asp:Content>

<asp:Content ID="ExternalContent" ContentPlaceHolderID="ExternalContentHolder" runat="server">
    <telerik:RadScriptBlock runat="server" ID="ScriptBlock">

        <script type="text/javascript">
            //<![CDATA[

            <%= Medianamik.UI.Utility.GetDeleteElementScript(RadAjaxManager.GetCurrent(Page).ClientID,
                Pages.DeleteElementWindow, CurrentEditionCulture.Name, 
                false, CurrentEditionCulture.Name == "") %>
 
            //]]>
        </script>

    </telerik:RadScriptBlock>
</asp:Content>